<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-payRank-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行卡号：</label>
				<div class="col-sm-8">
					<input id="bankCardNum" name="bankCardNum" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">充值金额：</label>
				<div class="col-sm-8">
					<input id="payMoney" name="payMoney" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户ID号：</label>
				<div class="col-sm-8">
					<input id="memberId" name="memberId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">充值时间：</label>
				<div class="col-sm-8">
					<input id="createDate" name="createDate" class="form-control" type="date">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">到账时间：</label>
				<div class="col-sm-8">
					<input id="accountTime" name="accountTime" class="form-control" type="date">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">充值类型：</label>
				<!--<div class="col-sm-8">
					<input id="type" name="type" class="form-control" type="text">
				</div>-->
				<div class="col-sm-8">
					<select id="type" name="type" class="form-control m-b" th:with="type=${@dict.getType('pay_rank_type')}">
						<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
					</select>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">充值状态：</label>
				<!--<div class="col-sm-8">
					<input id="status" name="status" class="form-control" type="text">
				</div>-->
				<div class="col-sm-8">
					<select id="status" name="status" class="form-control m-b" th:with="type=${@dict.getType('pay_rank_status')}">
						<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
					</select>
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "sj/payRank"
		$("#form-payRank-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-payRank-add').serialize());
	        }
	    }
	</script>
</body>
</html>
